<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html">
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="edu.uclm.esi.tysw.podtube.domain.Usuario" %>

<table border="1">
	<tr>
		<th width="50%" align="left">
			<jsp:include page="logo.jsp"/>
		</th>
		<th>
			<s:form action="BuscarVideo">
				<input type="text" name="video" size="50">
				<input type="submit" value="Buscar">
			</s:form>
		</th>
		<th>
			<details>
				<summary>
					Identifícate
				</summary>
				<form id="formularioEntrada">
					<label >e-mail:</label><input type="text" name="email" maxlength="16" size="20"><br>
					<label>Password</label><input type="password" name="pwd" maxlength="45" size="45"><br>
					<input type="button" value="Entrar" onclick="entrar()"/>
				</form>
			</details>
			<details>
				<summary>
					¿No eres usuario? Obtén una cuenta
				</summary>					
				<s:form action="AltaUsuario">
					<s:textfield label="e-mail" name="email" maxlength="16" size="20"></s:textfield>
					<s:password label="Password" name="pwd1" maxlength="45" size="45"></s:password>
					<s:password label="Repite password" name="pwd2" maxlength="45" size="45"></s:password>
					<s:submit value="Registrar"/>
				</s:form>
			</details>
		</th>
	</tr>
</table>
